package com.mrd.modules.system.service;

import java.util.List;
import java.util.Map;

import com.mrd.modules.system.entity.SysAttachmentEntity;

/**
 * 附件表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-08-17 16:41:33
 */
public interface SysAttachmentService {

  SysAttachmentEntity queryObject(Integer id);

  List<SysAttachmentEntity> queryList(Map<String, Object> map);

  int queryTotal(Map<String, Object> map);

  void save(SysAttachmentEntity sysAttachment);

  void update(SysAttachmentEntity sysAttachment);

  void delete(Integer id);

  void deleteBatch(Integer[] ids);

  List<SysAttachmentEntity> queryListByEntity(SysAttachmentEntity sysAttachment);

  List<SysAttachmentEntity> queryByIds(Integer[] ids);
}
